module zysx {
	export class ActionMgr {
		static scale(object:egret.DisplayObject,scaleFrom:number,scaleTo:number,cdTime:number):void{
			if(!object) return;
			object.scaleX = scaleFrom;
			object.scaleY = scaleFrom;
			egret.Tween.get(object).to({scaleX:scaleTo,scaleY:scaleTo},cdTime).call(()=>{
				egret.Tween.removeTweens(object);
			},this);
		}
		// static move(object:egret.DisplayObject,moveFrom:number,moveTo:number,cdTime:number):void{
		// 	if(!object) return;
		// 	object.scaleX = scaleFrom;
		// 	object.scaleY = scaleFrom;
		// 	egret.Tween.get(object).to({scaleX:scaleTo,scaleY:scaleTo},cdTime).call(()=>{
		// 		egret.Tween.removeTweens(object);
		// 	},this);
		// }
	}
}